package cn.com.dhc.danlu.business.shopcar.typefactory;

import android.view.View;

import cn.com.dhc.danlu.activity.delivery.order.viewholder.BaseViewHolder;
import cn.com.dhc.danlu.business.shopcar.bean.MerchBean;
import cn.com.dhc.danlu.business.shopcar.bean.PromotionBean;
import cn.com.dhc.danlu.business.shopcar.bean.SellerBean;
import cn.com.dhc.danlu.business.shopcar.callback.IClickCallback;

import cn.com.dhc.danlu.activity.delivery.order.typefactory.ITypeFactory;

/**
 * author: 李一方(<a href="mailto:liyifang@danlu.com">liyifang@danlu.com</a>)<br/>
 * version: 1.0.0<br/>
 * since: 2017-03-06 14:27
 *
 * <p>
 * 内容描述区域
 * </p>
 */
public interface IShopCarTypeFactory extends ITypeFactory {
    int type(MerchBean merchBean);

    int type(SellerBean sellerBean);

    int type(PromotionBean promotionBean);

    BaseViewHolder createViewHolder(int type, View itemView, IClickCallback callback);
}
